package com.hb.software.entity.worker;

import com.hb.software.domain.BaseEntity;
import com.hb.software.entity.department.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class Worker extends BaseEntity<Long> implements Serializable {
    Department department;//部门
    private String name;//姓名
    private String age;//年龄
    private String sex;//性别
    private String phone;//电话号码
    private String email;//邮箱
    List<Task> tasks = null;//所接任务


}
